package ipad.asia.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  冯东旺
 * @Date 2021-04-18 21:32:02 
 */

@Entity
@Data
@Accessors(chain = true)
@Table ( name ="express")
public class Express {


	@Id
   @Column(name = "id" )
	private int id;

	/**
	 * 订单id
	 */
   @Column(name = "order_id" )
	private int orderId;

	/**
	 * 用户id
	 */
   @Column(name = "consumer_id" )
	private int consumerId;

	/**
	 * 商店id
	 */
   @Column(name = "shop_id" )
	private int shopId;

	/**
	 * 快递名
	 */
   @Column(name = "express_name" )
	private String expressName;

	/**
	 * 快递单号
	 */
   @Column(name = "express_number" )
	private String expressNumber;

	/**
	 * 发货地
	 */
   @Column(name = "depart_address" )
	private String departAddress;

	/**
	 * 目的地
	 */
   @Column(name = "dest_address" )
	private String destAddress;

	/**
	 * 日期
	 */
   @Column(name = "date" )
	private Date date;

   @Column(name = "statues" )
	private int statues;

}
